Revision 9a71f7ed ChatSecure/Classes/View Controllers/UserProfileViewController.swift
| ChatSecure/Classes/View Controllers/UserProfileViewController.swift | ||
|---|---|---|
| 446 | 446 |
fingerprint = (otrFingerprint.fingerprint as NSData).humanReadableFingerprint() |
| 447 | 447 |
username = otrFingerprint.username |
| 448 | 448 |
} |
| 449 |
if fingerprint.characters.count == 0 || username.characters.count == 0 || cryptoType.characters.count == 0 {
|
|
| 449 |
if fingerprint.count == 0 || username.count == 0 || cryptoType.count == 0 {
|
|
| 450 | 450 |
return |
| 451 | 451 |
} |
| 452 | 452 |
let stringToShare = "\(username): \(cryptoType) \(fingerprint)" |
Also available in: Unified diff